package cn.gh.duboo.demo.controller.blog;

import com.jfinal.aop.Interceptor;
import com.jfinal.core.ActionInvocation;

/**
 * Created by Administrator on 2015/9/17.
 */
public class BlogInterceptor implements Interceptor {
    public void intercept(ActionInvocation ai) {
        System.out.println("Before invoking " + ai.getActionKey());
        ai.invoke();
        System.out.println("After invoking " + ai.getActionKey());
    }
}
